package com.zy.gmall0401.service;

import com.zy.gmall0401.bean.CartInfo;

import java.util.List;

public interface CartService {

    public CartInfo addCart(String userId,String skuId,  Integer num);

    public List<CartInfo> cartList(String userId);
    public List<CartInfo> mergeCartList(String userIdDest ,String userIdOrig);
    public List<CartInfo> cartListold( String userId);
    public  List<CartInfo>  getCheckedCartList(String userId);
    public void checkCart(String userId,String skuId,String isChecked) ;
}
